<?php

namespace Controller;

class Start extends \Core\Controller {

    public function  __construct() {
        parent::__construct();

        $config = new \Core\Config();
        $config->loadConfig('database', 'database');
        
        $view = new \Core\View();
        $view->addView('header.php', array('title' => 'Titel'));
        $view->addView('start.php', array('test' => 'Huhu'));
        $view->addView('footer.php');

        $view->printView();
    }
}